home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Developer University / DU Projects / Events / Sources / Frame.h < prev    next >
Encoding:
Text File  |  1996-08-22  |  1.2 KB  |  40 lines  |  [TEXT/CWIE]

  1. //    Release Version:    $ ODF 2 $
  2. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  3.  
  4. #ifndef FRAME_H
  5. #define FRAME_H
  6.  
  7. //=======================================================================
  8. // ----- Framework Includes -----
  9. #ifndef FWFRAME_H
  10. #include <FWFrame.h>        // FW_CFrame
  11. #endif
  12.  
  13. //=======================================================================
  14. class CEventsPart;
  15.  
  16. //=======================================================================
  17. class CEventsFrame : public FW_CFrame {
  18. public:
  19.     FW_DECLARE_AUTO(CEventsFrame)
  20.                         CEventsFrame(Environment* ev, 
  21.                                     ODFrame* odFrame, 
  22.                                     FW_CPresentation* presentation, 
  23.                                     CEventsPart* eventsPart);
  24.     virtual             ~CEventsFrame();
  25. protected:
  26. // overrides
  27.     virtual void        Draw(Environment *ev, 
  28.                              ODFacet* odFacet, 
  29.                              ODShape* invalidShape);
  30.     virtual FW_Handled    DoMouseDown(Environment* ev, 
  31.                                     const FW_CMouseEvent& theMouseEvent);
  32.     virtual FW_Handled    DoCharKey(Environment* ev, 
  33.                             const FW_CCharKeyEvent& theCharKeyEvent);
  34.     virtual FW_Handled     DoVirtualKey(Environment* ev, 
  35.                           const FW_CVirtualKeyEvent& theVirtualKeyEvent);
  36. };
  37.  
  38. //=======================================================================
  39. #endif
  40.